package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 谷歌密钥对象 sys_user_google
 *
 * @author Ericcc
 * @date 2021-03-18
 */
public class SysUserGoogle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 谷歌id */
    private Long googleId;

    /** 账户名 */
    @Excel(name = "账户名")
    private String loginName;

    /** 密钥 */
    @Excel(name = "密钥")
    private String googleKey;

    /** $column.columnComment */
    @Excel(name = "密钥")
    private Long userId;

    public void setGoogleId(Long googleId)
    {
        this.googleId = googleId;
    }

    public Long getGoogleId()
    {
        return googleId;
    }
    public void setLoginName(String loginName)
    {
        this.loginName = loginName;
    }

    public String getLoginName()
    {
        return loginName;
    }
    public void setGoogleKey(String googleKey)
    {
        this.googleKey = googleKey;
    }

    public String getGoogleKey()
    {
        return googleKey;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("googleId", getGoogleId())
                .append("loginName", getLoginName())
                .append("googleKey", getGoogleKey())
                .append("userId", getUserId())
                .toString();
    }
}